home *** CD-ROM | disk | FTP | other *** search
/ Aminet 51 / Aminet 51 (2002)(GTI - Schatztruhe)[!][Oct 2002].iso / Aminet / dev / gg / tcpbug.lha / tcpbug / ip / ip_misc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-04  |  790 b   |  30 lines

  1. #ifndef IP_MISC_H__ALREADY_INCLUDED__
  2. #define IP_MISC_H__ALREADY_INCLUDED__
  3.  
  4.  
  5. extern    int    get_inaddr(struct sockaddr_in* /*addr*/,
  6.                const char* /*host*/,
  7.                const char* /*service*/,
  8.                const char* /*protocol*/);
  9.  
  10. extern    int    tcp_connect(const struct sockaddr_in* /*remote*/,
  11.                 const struct sockaddr_in* /*local*/);
  12.  
  13. extern    int    tcp_open(const char* /*remote_host*/,
  14.              const char* /*remote_port*/,
  15.              const char* /*local_host*/,
  16.              const char* /*local_port*/);
  17.  
  18. extern    int    tcp_listen_2(const struct sockaddr_in* /*local*/);
  19.  
  20. extern    int    tcp_listen(const char* /*interface*/,
  21.                const char* /*port*/);
  22.  
  23. extern    char   *source_route(int /*type*/,
  24.                  char** /*hostlist*/,
  25.                  int /*nhosts*/,
  26.                  int* /*result_len*/);
  27.  
  28.  
  29. #endif    /* IP_MISC_H__ALREADY_INCLUDED__ */
  30.